
/*
 * Hlpay-Plus aggregate payment system. Copyright
 * (c) 2022-2023 Hlpay Team Copyright has the right of final interpretation.
 */
package com.hlkj.pay.dto.admin;

import com.hlkj.framework.mybatis.core.dataobject.BaseDO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author HlpayTeam
 * @date 2024/09/03 14:10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AdminUserBehaviorLogDto extends BaseDO {

    private static final long serialVersionUID = 6570347998232429595L;
    /**
     * user_id
     */
    @Schema(description ="用户id")
    private Long userId;

    /**
     * 日志编号
     */
    @Schema(description ="用户id")
    private String logCode;

    /**
     * 模块名称
     */
    @Schema(description ="模块名称")
    private String modelName;
    /**
     * 业务名称
     */
    private String permissionCode;


    
    /**
     * 请求body
     */
    @Schema(description ="请求参数")
    private String params;
    /**
     * 返回
     */
    @Schema(description ="返回参数")
    private String response;
    /**
     * ip
     */
    @Schema(description ="ip")
    private String ip;
    /**
     * ip 地址
     */
    @Schema(description ="ip 地址")
    private String ipLocation;
    /**
     * 接口地址
     */
    @Schema(description ="接口地址")
    private String requestUrl;
    /**
     * total time
     */
    @Schema(description ="耗时 毫秒")
    private Long costTime;
    /**
     * 类型 1 总部 99 门店
     * @see com.hlkj.pay.enums.CommonEnum.SYS_TYPE
     */
    @Schema(description = "1 运营平台 2 代理 3 商户")
    private Integer sysType;
    
    /**
     * 服务商编码
     */
    @Schema(description ="商户号")
    private String sn;
    
    /**
     * 姓名
     */
    @Schema(description ="姓名")
    private String name;
    
    @Schema(description ="用户名称-账号名称")
    private String userName;
    
    @Schema(description ="用户邮箱")
    private String email;
    

}
